class Chess:
    Empty = 0
    Black = 1
    White = 2

    def GetType(self, index):
        if index == 0:
            return 'Empty'
        elif index == 1:
            return 'Black'
        elif index == 2:
            return 'White'
        else:
            raise Exception('!')
